package com.example.a2022application.bean;

public class ClassEntity {
    private int startNode;
    private int endNode;
    private String classNamae;
    private String courseName;
    private String time;
    private String week;
    private String obj_id;

    public String getObj_id() {
        return obj_id;
    }

    public void setObj_id(String obj_id) {
        this.obj_id = obj_id;
    }

    private int state;

    public ClassEntity(){}
    public ClassEntity(int startNode, int endNode, String classNamae, String courseName,String obj_id) {
        this.startNode = startNode;
        this.endNode = endNode;
        this.classNamae = classNamae;
        this.courseName = courseName;
        this.obj_id = obj_id;
    }

    public int getStartNode() {
        return startNode;
    }

    public void setStartNode(int startNode) {
        this.startNode = startNode;
    }

    public int getEndNode() {
        return endNode;
    }

    public void setEndNode(int endNode) {
        this.endNode = endNode;
    }

    public String getClassNamae() {
        return classNamae;
    }

    public void setClassNamae(String classNamae) {
        this.classNamae = classNamae;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }


    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "ClassEntity{" +
                "startNode=" + startNode +
                ", endNode=" + endNode +
                ", classNamae='" + classNamae + '\'' +
                ", courseName='" + courseName + '\'' +
                ", time='" + time + '\'' +
                ", week='" + week + '\'' +
                ", state=" + state +
                ", obj_id=" + obj_id +
                '}';
    }
}
